package com.itic.appbase.framework.xcx.vo;

public enum XcxProjectGuideModelType {
	apply("001","申请"),applyPay("002","申请微信支付"),attention("003","支付后关注"),nearXCX("004","附近的小程序"),service("005","客服"),experience("006","小程序体验者");
	XcxProjectGuideModelType(String type,String name){
		this.type = type;
		this.name = name;
	}
	private String type;
	private String name;
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public XcxProjectGuideModelType getXcxProjectGuideModelType(String type){
		XcxProjectGuideModelType temp = null;
		switch(type){
		case"001":
			temp = XcxProjectGuideModelType.apply;
			break;
		case"002":
			temp = XcxProjectGuideModelType.applyPay;
			break;
		case"003":
			temp = XcxProjectGuideModelType.attention;
			break;
		case"004":
			temp = XcxProjectGuideModelType.experience;
			break;
		case"005":
			temp = XcxProjectGuideModelType.nearXCX;
			break;
		case"006":
			temp = XcxProjectGuideModelType.service;
			break;
			default:break;
		}
		return temp;
	}
}
